package com.kotlin.jetpack.android.jssdk.bean;

/**
 * Created by Android Studio.
 * Author: zl
 * Date: 2019-05-16
 * Time: 14:19
 */
public class ShareToBean {
	private long tokenKey;
	private String callbackName;
	private BusinessParametersBean businessParameters;

	public long getTokenKey() {
		return tokenKey;
	}

	public void setTokenKey(long tokenKey) {
		this.tokenKey = tokenKey;
	}

	public String getCallbackName() {
		return callbackName;
	}

	public void setCallbackName(String callbackName) {
		this.callbackName = callbackName;
	}

	public BusinessParametersBean getBusinessParameters() {
		return businessParameters;
	}

	public void setBusinessParameters(BusinessParametersBean businessParameters) {
		this.businessParameters = businessParameters;
	}

	@Override
	public String toString() {
		return "ShareToBean{" +
				"tokenKey=" + tokenKey +
				", callbackName='" + callbackName + '\'' +
				", businessParameters=" + businessParameters +
				'}';
	}

	public static class BusinessParametersBean {

		private ShareToBean.BusinessParametersBean.ExtraDataBean extraData;

		public ShareToBean.BusinessParametersBean.ExtraDataBean getExtraData() {
			return extraData;
		}

		public void setExtraData(ShareToBean.BusinessParametersBean.ExtraDataBean extraData) {
			this.extraData = extraData;
		}

		@Override
		public String toString() {
			return "BusinessParametersBean{" +
					"extraData=" + extraData +
					'}';
		}

		public static class ExtraDataBean {
			/**标题*/
			private String title;
			/**描述*/
			private String desc;
			/**要跳转的网页地址*/
			private String url;
			/**图片地址*/
			private String imageURL;
			/**小程序地址*/
			private String miniProgramURL;
			/**小程序名字*/
			private String miniProgramName;

			public String getTitle() {
				return title;
			}

			public void setTitle(String title) {
				this.title = title;
			}

			public String getDesc() {
				return desc;
			}

			public void setDesc(String desc) {
				this.desc = desc;
			}

			public String getUrl() {
				return url;
			}

			public void setUrl(String url) {
				this.url = url;
			}

			public String getImageURL() {
				return imageURL;
			}

			public void setImageURL(String imageURL) {
				this.imageURL = imageURL;
			}

			public String getMiniProgramURL() {
				return miniProgramURL;
			}

			public void setMiniProgramURL(String miniProgramURL) {
				this.miniProgramURL = miniProgramURL;
			}

			public String getMiniProgramName() {
				return miniProgramName;
			}

			public void setMiniProgramName(String miniProgramName) {
				this.miniProgramName = miniProgramName;
			}

			@Override
			public String toString() {
				return "ExtraDataBean{" +
						"title='" + title + '\'' +
						", desc='" + desc + '\'' +
						", url='" + url + '\'' +
						", imageURL='" + imageURL + '\'' +
						", miniProgramURL='" + miniProgramURL + '\'' +
						", miniProgramName='" + miniProgramName + '\'' +
						'}';
			}
		}
	}
}
